package cn.zd.demo1.adapter;

import android.widget.Button;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.TextView;

public class MyViewHolder {
    private LinearLayout ly_list_view;
    private ImageView iv;
    private TextView tv_name;
    private TextView tv_detail;
    private Button btn_1;
    public MyViewHolder(ImageView iv, TextView tv_name, TextView tv_detail,Button btn_1,LinearLayout ly_list_view) {
        this.iv = iv;
        this.tv_name = tv_name;
        this.tv_detail = tv_detail;
        this.btn_1 = btn_1;
        this.ly_list_view = ly_list_view;
    }


    public ImageView getIv() {
        return iv;
    }

    public void setIv(ImageView iv) {
        this.iv = iv;
    }

    public TextView getTv_name() {
        return tv_name;
    }

    public void setTv_name(TextView tv_name) {
        this.tv_name = tv_name;
    }

    public TextView getTv_detail() {
        return tv_detail;
    }

    public void setTv_detail(TextView tv_detail) {
        this.tv_detail = tv_detail;
    }
    public Button getBtn_1() {
        return btn_1;
    }

    public void setBtn_1(Button btn_1) {
        this.btn_1 = btn_1;
    }


    public LinearLayout getLy_list_view() {
        return ly_list_view;
    }

    public void setLy_list_view(LinearLayout ly_list_view) {
        this.ly_list_view = ly_list_view;
    }
}
